/*---------- fat32.h ----------*/
#pragma once
#include "vfs.h"
#include <string.h>
// FAT32特定结构
struct fat32_dir_entry {
    uint8_t  name[11];
    uint8_t  attr;
    uint32_t first_cluster;
    uint32_t file_size;
} __attribute__((packed));

// FAT32操作接口
extern vfs_filesystem_t fat32_fs;
int fat32_init(vfs_filesystem_t* fs);